import request from '@/api/request.js'

// 获取用户歌单
export const getUserSongList = (uid) =>{
    return  request({
        url:'/user/playlist',
        params:{
            uid,
            limit:1000,
            timestamp:Date.parse(new Date())
        }
    })
}
// 获取用户喜欢的音乐列表
export const getUserLikeSongList = (uid) =>{
    return request({
        url:'/likelist',
        params:{
            uid,
            timestamp:Date.parse(new Date())
        }
    })
}